package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.User;

import java.util.LinkedHashSet;

public interface UserService {
    public User findByUsername(String username);

    PageResult pageQuery(QueryPageBean queryPageBean);

    Integer[] findSelected(Integer userId);

    void editRoles(Integer userId,Integer[]roleIds);

    LinkedHashSet<Menu> showMenusByUsername(String username);
}
